luci-app-watchat: fix ucitrack file
authorFlorian Eckert <[email protected]>
Wed, 31 Jul 2019 11:51:56 +0000 (13:51 +0200)
committerFlorian Eckert <[email protected]>
Wed, 31 Jul 2019 11:51:56 +0000 (13:51 +0200)
Signed-off-by: Florian Eckert <[email protected]>
applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat

index 8cdb8c7b9fafd1dd682e48617227da66d1b54167..6eb87210e096052ea92ed6dcdb541d8061253b99 100644 (file)
@@ -1,9 +1,10 @@
 #!/bin/sh
 
 uci -q batch <<-EOF >/dev/null
-        add ucitrack system
-        set ucitrack.@system[-1].init=watchcat
-        commit ucitrack
+       delete ucitrack.@watchcat[-1]
+       add ucitrack watchcat
+       set ucitrack.@watchcat[-1].init=watchcat
+       commit ucitrack
 EOF
 
 rm -f /tmp/luci-indexcache